<?='<?php $this->load->view(\'admin/public\');?>'?>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="<?=site_url('admin/indexc/index');?>">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="<?=site_url('admin/articlec/lst');?>"><?=$dbname;?>管理</a><span class="crumb-step">&gt;</span><span>修改<?=$dbname;?></span></div>
        </div>

        <div class="result-wrap">
            <div class="result-content">
                <form action="<?=site_url('admin/'.$dbname.'c/save')?>" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <input type="hidden" name="id" value="<?='<?=$id;?>'?>">
                            <?php foreach($fields as $v):
                                if($v['Field']=='id'){
                                    continue;
                                }
                            ?>
                                <tr>
                                    <th><i class="require-red">*</i><?=$v['Comment'];?>：</th>
                                    <td>
                                        <input class="common-text required" id="<?=$v['Field'];?>" name="<?=$v['Field'];?>" size="50" value="<?='<?=set_value(\''.$v['Field'].'\',$'.$v['Field'].');?>'?>" type="text"><span style="color:red"><?='<?=form_error(\''.$v['Field'].'\');?>'?></span>
                                    </td>
                                </tr>
                            <?php endforeach;?>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>